<?php $this->beginContent('//layouts/wrap/main'); ?>

<div id="content">
	
	<h1><?php echo CHtml::encode($this->pageTitle); ?></h1>
	
	<?php if(!empty($this->contextmenu)) {
		$this->renderPartial('//layouts/fragments/contextmenu', null, false, true);
	} ?>
	
	<?php echo $content; ?>
	
</div><!-- content -->

<?php $this->endContent(); ?>